import hdfs


h = hdfs.Client("http://192.168.1.101:50070")
for f in h.list("/data"):
    print(f)
